package com.zyq.enuns;

/** 删除枚举 是否删除(1未删除；0已删除)
 * author xiaochi
 * date 2024/5/20 17:38
 */
public enum DeletedEnum implements BaseCodeEnum {

    UNDELETED(1,"未删除"),
    DELETED(0,"已删除");

    private int code;
    private String message;

    DeletedEnum(int code,String message){
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
